﻿<UserControl x:Class="ZFCNew.Controls.ShowOneMatch"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ViewModels="clr-namespace:ZFCNew.ViewModels" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Height="300" Width="410">
    <UserControl.Resources>
        <ViewModels:OneMatchData x:Key="OneMatchDataSource" />
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="Black" >
    
    	<TextBlock VerticalAlignment="Top" Foreground="White" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="26.667" Opacity="0.7" Margin="10,10,0,0" HorizontalAlignment="Left" Text="{Binding FirstTeam}"/>
    	<Image VerticalAlignment="Top" Source="{Binding Id1, Converter={StaticResource TeamIdToFlagConverter}}" MaxWidth="151" MaxHeight="80" Margin="12,50,0,0" HorizontalAlignment="Left" Width="151" Height="80" Stretch="Fill"/>
    	<TextBlock VerticalAlignment="Top" Foreground="White" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="26.667" Opacity="0.7" Margin="0,10,10,0" HorizontalAlignment="Right" Text="{Binding SecondTeam}"/>
    	<Image VerticalAlignment="Top" Source="{Binding Id2, Converter={StaticResource TeamIdToFlagConverter}}" MaxWidth="151" MaxHeight="80" Margin="0,50,10,0" HorizontalAlignment="Right" Width="151" Height="80" Stretch="Fill"/>
    	<TextBlock VerticalAlignment="Top" Foreground="Red" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="26.667" Opacity="0.7" Margin="0,76,0,0" HorizontalAlignment="Center" Text="VS"/>
    	<TextBlock Foreground="#FF555555" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="26.667" Opacity="0.7" Margin="0,0,0,50" HorizontalAlignment="Center" Text="Your Time" VerticalAlignment="Bottom"/>
    	<TextBlock Foreground="Red" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="26.667" Opacity="0.7" Margin="0,125,0,0" HorizontalAlignment="Center" Text="In" VerticalAlignment="Top"/>
    	<TextBlock Foreground="White" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="16" Opacity="0.7" Margin="0,158,0,0" HorizontalAlignment="Center" Text="{Binding Venu}" VerticalAlignment="Top"/>
    	<StackPanel HorizontalAlignment="Center" Orientation="Horizontal" VerticalAlignment="Bottom">
            <TextBlock Foreground="#FFFFC700" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="45" HorizontalAlignment="Center" Text="{Binding TodayTommrow}" VerticalAlignment="Bottom"/>

    		<TextBlock Foreground="#FFFFC700" FontFamily="Franklin Gothic Heavy" TextAlignment="Center" FontSize="45" HorizontalAlignment="Center" Text="{Binding Time}" VerticalAlignment="Bottom"/>
    	</StackPanel>

    </Grid>
</UserControl>
